package com.swpu.zdl.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("xuanke")
public class XuanKe {
    @TableId("id")
    private Integer id;
    private String nianDu;
    private String xueQi;
    private String keXuHao;
    private String chengJi;
    @TableField(exist = false)
    private KeCheng keCheng;
    @TableField(exist = false)
    private List<Student> students;
}
